from django.conf.urls.defaults import patterns
from ittctalk.views import ListIttcTalkView, CreateIttcTalkView,\
    DetailIttcTalkView
from django.contrib.auth.decorators import login_required

urlpatterns = patterns(
    "ittctalk.views"
    , (r"^$", ListIttcTalkView.as_view())
    , (r"^create/$", login_required( CreateIttcTalkView.as_view() ))
    , (r"^(?P<pk>\d+)/", login_required( DetailIttcTalkView.as_view() ))
)
